<?php

class StockReceiptController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
        $this->view->headTitle("Phiếu nhập sách");
    }

    public function indexAction()
    {
        
    }
    
    public function insertAction()
    {
        $this->view->headTitle("Lập phiếu")->setSeparator(" | ");
        $modelTheLoai = new Application_Model_DbTable_TheLoaiSach();
        $this->view->theloai = $modelTheLoai->fetchAll();
        
        $model = new Application_Model_DbTable_PhieuNhapSach();
        $this->view->lastId = $model->getLastInsertId();
    }
   

}











